package com.blog.service;

import com.blog.entity.User;

public interface UserService {

    public int selUserByAccount(String account) throws  Exception;

    public User Login(String account,String password) throws Exception;

    public int register(User user)throws Exception;

    public User findPassword(User user) throws Exception;

    public String findProblem(String account) throws Exception;

    public int updUser(User user) throws  Exception;

    public int updPassword(String account,String password,String newPassword) throws  Exception;


}
